package com.groupbuying.payconsumer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 微信支付结果回执表
 * 
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-05-23 07:46:45
 * @des
 */
public class PayWechatpayResultDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 支付单号
	 */
	private String id;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 更新时间
	 */
	private Date gmtModified;

	/**
	 * 支付金额
	 */
	private BigDecimal totalFee;

	/**
	 * 微信支付订单号
	 */
	private String transactionId;

	/**
	 * 交易类型:JSAPI支付-JSAPI-JSAPI,Native支付-NATIVE-NATIVE,APP支付-APP-APP
	 */
	private String tradeType;

	/**
	 * 支付状态:支付成功-SUCCESS-SUCCESS,支付失败-FAIL-FAIL
	 */
	private String resultCode;

	/**
	 * 入账时间
	 */
	private Date timeEnd;

	/**
	 * 设置：支付单号
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：支付单号
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}
	/**
	 * 设置：支付金额
	 */
	public void setTotalFee(BigDecimal totalFee) {
		this.totalFee = totalFee;
	}
	/**
	 * 获取：支付金额
	 */
	public BigDecimal getTotalFee() {
		return totalFee;
	}
	/**
	 * 设置：微信支付订单号
	 */
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	/**
	 * 获取：微信支付订单号
	 */
	public String getTransactionId() {
		return transactionId;
	}
	/**
	 * 设置：交易类型:JSAPI支付-JSAPI-JSAPI,Native支付-NATIVE-NATIVE,APP支付-APP-APP
	 */
	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	/**
	 * 获取：交易类型:JSAPI支付-JSAPI-JSAPI,Native支付-NATIVE-NATIVE,APP支付-APP-APP
	 */
	public String getTradeType() {
		return tradeType;
	}
	/**
	 * 设置：支付状态:支付成功-SUCCESS-SUCCESS,支付失败-FAIL-FAIL
	 */
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	/**
	 * 获取：支付状态:支付成功-SUCCESS-SUCCESS,支付失败-FAIL-FAIL
	 */
	public String getResultCode() {
		return resultCode;
	}
	/**
	 * 设置：入账时间
	 */
	public void setTimeEnd(Date timeEnd) {
		this.timeEnd = timeEnd;
	}
	/**
	 * 获取：入账时间
	 */
	public Date getTimeEnd() {
		return timeEnd;
	}

    @Override
    public String toString() {
        return "PayWechatpayResultDO{" +
									                    "id=" + id +
					                										",isDelete=" + isDelete +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                										",totalFee=" + totalFee +
					                										",transactionId=" + transactionId +
					                										",tradeType=" + tradeType +
					                										",resultCode=" + resultCode +
					                										",timeEnd=" + timeEnd +
					                				"}";
    }
}
